+2014-03-23 Daniel Colascione <dancol@dancol.org>
+
+ * xfns.c (create_frame_xic): If XCreateIC fails, try again without
+ XNStatusAttributes; works around flaky XIM modules, apparently.
+
2013-08-21 Paul Eggert <eggert@cs.ucla.edu>
* process.c (allocate_pty) [PTY_OPEN]: Set fd's FD_CLOEXEC flag.
XNStatusAttributes, status_attr,
XNPreeditAttributes, preedit_attr,
NULL);
+
+ /* Some input methods don't support a status pixel. */
+ if (xic == NULL)
+ xic = XCreateIC (xim,
+ XNInputStyle, xic_style,
+ XNClientWindow, FRAME_X_WINDOW (f),
+ XNFocusWindow, FRAME_X_WINDOW (f),
+ XNPreeditAttributes, preedit_attr,
+ NULL);
+
XFree (preedit_attr);
XFree (status_attr);
}